<link rel='stylesheet' type='text/css' href='{$public}tpl/admin/static/barrager/barrager.css' />
<div class="tanmu clear"><div class="tanmu_l">
<form id="tamuform" method="post">
<input type="hidden" id="comm_sid" name="comm_sid" value="{$list_sid}">
{eq name="list_sid" value="1"}
<input type="hidden" id="comm_vid" name="comm_vid" value="{$vod_id}">
{/eq}         
<input type="text" class="t-input" id="comm_txt" name="comm_txt" value="请在这里输入弹幕内容." onfocus="if(this.value=='请在这里输入弹幕内容.'){this.value='';}" onblur="if(this.value==''){this.value='请在这里输入弹幕内容.';};">
<a rel="nofollow" class="t_button" id="tammucomm"  href="javascript:void(0);">提交</a>
</form></div><div class="tanmu_r"><div class="tamnu_open one"><div class="tanmu_m one" id="slider" style="-webkit-border-radius: 30px;border-radius:30px;position: absolute;transition: left 0.5s; -moz-transition: left 0.5s; -webkit-transition: left 0.5s; left:44px"></div><span class="m on">弹幕</span></div></div></div>
<script>
$(document).ready(function(){	
if (Id != undefined && Id != null && Id != '') {
	tanmu(Root +"index.php?s=user-comm-ajaxcomm-id-" + Id + '')

};	
});	
    $("#slider").toggle(
            function () {
                $(this).css("left","0");
				$(".m").toggleClass("on");
				$(".tanmu_m,.tamnu_open").toggleClass("one");
				$.fn.barrager.removeAll();
				clearInterval(looper);
                return false;
            },
            function () {
                $(this).css("left","44px");
				$(".m").toggleClass("on");
				$(".tanmu_m,.tamnu_open").toggleClass("one");
				tanmu(Root +"index.php?s=user-comm-ajaxcomm-id-" + Id + '');
            }
        );
</script>
<script type="text/javascript" charset="utf-8" src="{$public}tpl/admin/static/barrager/jquery.barrager.js"></script>